<extend name="Public/Admin/base.html" />
<block name="body">
    
<script src="/admin/js/jquery-1.8.3.min.js"></script>

<header class="panel-heading">
    <span class="label label-primary">
        分类列表
    </span>
    <span class="tools pull-right">
        <a href="javascript:;" class="fa fa-chevron-down">
        </a>
        <a href="javascript:;" class="fa fa-times">
        </a>
    </span>
</header>
<div class="panel-body">
    <div class="adv-table">
        <div id="example_wrapper" class="dataTables_wrapper form-inline" role="grid">
            <div class="row-fluid">
                <form action="/admins/sort/index" method="get">

                <div class="span6" style="width: 50%; float: left;">
                    <div id="example_length" class="dataTables_length">
                        <label>
                            <select class="form-control" size="1" name="num" aria-controls="example">
                                <option value="10">
                                    10
                                </option>
                                <option value="25">
                                    25
                                </option>
                                <option value="50">
                                    50
                                </option>
                                <option value="100">
                                    100
                                </option>
                            </select>
                            显示条数
                        </label>
                    </div>
                </div>
                <div class="span6">
                    <div class="dataTables_filter" id="example_filter">
                        <label>
                            <button class="btn btn-info popovers" data-original-title="" title="">搜索</button>
                            
                            <input class="form-control" aria-controls="example" name="keyword" value="" style="float: right; width: 75%;" type="text">
                        </label>
                    </div>
                </div>
                </form>
            </div>
            <table class="display table table-bordered table-striped dataTable" id="example" aria-describedby="example_info">
                <thead>

                    <tr role="row">
                        <th class="sorting" role="columnheader" tabindex="0" aria-controls="example" rowspan="1" colspan="1" style="width: 100px;" aria-label="Rendering engine: activate to sort column ascending">
                            操作
                        </th>
                        <th class="sorting" role="columnheader" tabindex="0" aria-controls="example" rowspan="1" colspan="1" style="width: 100px;" aria-label="Rendering engine: activate to sort column ascending">
                            id
                        </th>
                        <th class="hidden-phone sorting" role="columnheader" tabindex="0" aria-controls="example" rowspan="1" colspan="1" style="width: 265px;" aria-label="Browser: activate to sort column ascending">
                            分类名
                        </th>
                        
                        <th class="hidden-phone sorting" role="columnheader" tabindex="0" aria-controls="example" rowspan="1" colspan="1" style="width: 168px;" aria-label="Engine version: activate to sort column ascending">
                            父级分类
                        </th>
                        
                        <th class="hidden-phone sorting_desc" role="columnheader" tabindex="0" aria-controls="example" rowspan="1" colspan="1" style="width: 119px;" aria-sort="descending" aria-label="CSS grade: activate to sort column ascending">
                            操作
                        </th>
                    </tr>
                </thead>
                
                <tbody role="alert" aria-live="polite" aria-relevant="all">
                <volist name="data" id="vo">
                    <tr class=" gradeC even ">
                        <td class=" center hidden-phone">
                            <input value="14" type="checkbox">
                        </td>
                        <td class=" ">
                            {$vo.id}
                        </td>
                        <td class="hidden-phone ">
                            {$vo.name}
                        </td>
                        
                        <td class="center hidden-phone ">
                            {$vo.pname}
                        </td>
                        
                        <td class="center hidden-phone ">
                            <a href="/admins/sort/edit/14" class="btn btn-info"><i class="fa fa-pencil"></i></a>
                            <a href="/admins/sort/del/14" class="btn btn-warning"><i class="fa fa-trash-o"></i></a>
                        </td>
                    </tr>
                    </volist>
                    <tr>
                        <td class="center hidden-phone" colspan="5">
                            <a href="javascript:viod(0)" class="alldel">全选</a>
                            <a href="javascript:viod(0)" class="nodel">全不选</a>
                            <a href="javascript:viod(0)" class="fdel">反选</a>
                            <a href="javascript:viod(0)" class="del">删除</a>
                        </td>
                    </tr>
                </tbody>
            </table>
            
        </div>
    </div>
</div>      
</block>